package jt.classic.app.info.impl;

import jt.classic.app.info.AInfoIssue;

import org.limp.basework.AbstractSimpleBean;

import java.util.Map;


/**
 * 信息发布接口实现类
 *
 * @author Bizkit
 *
 */
public class AInfoIssueImpl extends AbstractSimpleBean implements AInfoIssue {
    private String areaid;
    private String areaname;
    private String stime;
    private String etime;
    private String type;

    public String iareaid() {
        // TODO Auto-generated method stub
        return this.areaid;
    }

    public String iareaname() {
        // TODO Auto-generated method stub
        return this.areaname;
    }

    public String ietime() {
        // TODO Auto-generated method stub
        return this.etime;
    }

    public String istime() {
        // TODO Auto-generated method stub
        return this.stime;
    }

    public String itype() {
        // TODO Auto-generated method stub
        return this.type;
    }

    public void reload(Map info) {
        if (info != null) {
            this.info = info;

            this.type = (String) info.get("IS_OBJ_TYPE");
            this.areaid = (String) info.get("IS_AREAID");
            this.areaname = (String) info.get("IS_AREANAME");
            this.stime = (String) info.get("IS_ASTIME");
            this.etime = (String) info.get("IS_AETIME");
        }
    }
}
